package ${packageName}.${moduleName}.entity;

import java.io.Serializable;
<#list importPackageSet as p>
import ${p};
</#list>

/**
 * ${modelDesc} 实体类
 * @author ${author!"habitplus"}, created at ${.now?string["yyyy/MM/DD HH:mm:ss.SSS"]}
 */
public class ${modelName} implements Serializable {
<#list modelDetails as pro>
    // ${pro.remark}
    private ${pro.proType} ${pro.propertyName};
</#list>

<#list modelDetails as pro>
    public ${pro.proType} get${pro.propertyName?cap_first}() {
        return ${pro.propertyName};
    }

    public void set${pro.propertyName?cap_first}(${pro.proType} ${pro.propertyName}) {
        this.${pro.propertyName} = ${pro.propertyName};
    }<#sep>${"\n"}</#sep>
</#list>

    @Override
    public String toString() {
        return "${modelName}{" +
                <#list modelDetails as pro>"${pro.propertyName}=" + ${pro.propertyName} + ", " +<#sep>${"\n"}</#sep></#list>
                "}";
    }
}
